#!/bin/bash

( cat << 'EOF'
OPCODE=0021
DOMAIN=test.ua
UNAME=test
MESTO equal vlad@test.ua AND ENVFROM not endwith @test.ua THEN COPY igor@test.ua
MESTO contain Vladislav.Pavlenko AND ENVFROM not endwith @test.ua THEN COPY igor@test.ua
SUBJECT match ^(Re(\[\d+\])*:\s)*\[freebsd\]\s AND ENVTO equal testuser@test.ua THEN DROP
EOF
) | ../commstack
